package com.bzkj.basicinfo.mapper.check;

import com.bzkj.basicinfo.domain.check.WmsCheckTaskEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * WMS复核任务 Mapper接口
 *
 * @author system
 * @date 2025-10-22
 */
public interface WmsCheckTaskMapper {

    List<WmsCheckTaskEntity> selectCheckTaskList(WmsCheckTaskEntity entity);

    WmsCheckTaskEntity selectCheckTaskById(@Param("id") Long id);

    WmsCheckTaskEntity selectCheckTaskByOutboundId(@Param("outboundOrderId") Long outboundOrderId);

    int insertCheckTask(WmsCheckTaskEntity entity);

    int updateCheckTask(WmsCheckTaskEntity entity);

    int deleteCheckTaskById(@Param("id") Long id);
}
